package drds.global_transaction.api.api;

import drds.global_transaction.api.exception.GlobalTransactionException;

public interface ResourceManagerInbound
{

	BranchTransactionStatus branchTransactionCommit(String globalTransactionIdWithAddressAndPort, long branchTransactionId, String resourceId, String applicationData) throws GlobalTransactionException;

	BranchTransactionStatus branchTransactionRollback(String globalTransactionIdWithAddressAndPort, long branchTransactionId, String resourceId, String applicationData) throws GlobalTransactionException;
}
